* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
ul,
li {
  list-style: none;
}

html {
  font-size: 16px; /* 基础字体大小 */
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden; /* 禁用滚动条，确保全屏显示 */
}

#app {
  margin: 0;
  padding: 0;
  text-align: center;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* 响应式字体大小和缩放 */
@media (max-width: 576px) {
  html {
    font-size: 12px;
  }
  body {
    transform: scale(0.8);
    transform-origin: top left;
    width: 125%;
    height: 125%;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  body {
    transform: scale(0.9);
    transform-origin: top left;
    width: 111.11%;
    height: 111.11%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 1025px) and (max-width: 1366px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1367px) and (max-width: 1920px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1921px) {
  html {
    font-size: 20px;
  }
  body {
    transform: scale(1.1);
    transform-origin: top left;
    width: 90.91%;
    height: 90.91%;
  }
}
/* 在全局样式文件（如 main.css）中添加 */
@font-face {
  font-family: 'DS-Digit';
  src: url('/public/DS-DIGIT.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 避免加载时文字闪烁 */
}